
<%@page import="com.easyattendance.services.AddStudentService"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	
<%@page import="java.util.Date"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.easyattendance.model.Student"%>
<%@ page import ="com.easyattendance.services.AddTeacherService" %>
<%@ page import ="com.easyattendance.model.Teacher" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Teacher - View Student List</title>
<!-- <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> -->
<jsp:include page="../includeFiles.jsp" />

</head>
<body class="left-sidebar">

<!-- Session check : user logged in or not/ press back button -->
<jsp:include page="../common/checkSession.jsp" />
<jsp:include page="../common/checkTeacherRole.jsp" />

<%
	ArrayList<Student> studList=(ArrayList<Student>) request.getAttribute("student_list");
	Date sys_dt=new Date();
	/* if(studList.isEmpty()) {
		AddStudentService addStudentService = new AddStudentService();
		studList = addStudentService.listStudents();
	} */
%>

		<!-- Sidebar -->
		<div id="sidebar">

			<!-- Sidebar Header - Logo & Name -->
			<jsp:include page="../common/sidebarHeader.jsp" />

			<jsp:include page="teacherMenu.jsp" />

			<!-- Sidebar Footer Content -->
			<jsp:include page="../common/sidebarFooter.jsp" />

		</div>

	<!-- </div>	 -->
	<script type="text/javascript">
		$(function(){
			$("#studentSettings").addClass("current_page_item");
		});
	</script>
</body>
</html>